package com.lxw.report.meta.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 菜单
 * </p>
 *
 * @author lxw
 * @since 2022-04-25
 */
@TableName("sys_menu")
@ApiModel(value = "Menu对象", description = "菜单")
public class Menu extends BaseEntity {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("等级")
    private Integer level;

    @ApiModelProperty("父级菜单id")
    private Long parentId;

    @ApiModelProperty("菜单名称")
    private String name;

    @ApiModelProperty("菜单标题")
    private String title;

    @ApiModelProperty("菜单图标")
    private String icon;

    @ApiModelProperty("是否严格匹配")
    private Integer exact;

    @ApiModelProperty("菜单访问路径")
    private String path;

    @ApiModelProperty("菜单组件")
    private String component;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getExact() {
        return exact;
    }

    public void setExact(Integer exact) {
        this.exact = exact;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

}
